<%@ include file="/html/init.jsp" %>
<%
	long classPK = ParamUtil.getLong(request, "rowsId");
	List<Object> result = DynaTableLocalServiceUtil.getRow(themeDisplay.getCompanyId(), dynaTableName, classPK);
	List<String> headerNames = (List<String>)result.get(0);
	DynaBean dynaBean = (DynaBean) result.get(1);
%>

<h2>Table Name :&nbsp; <%= dynaTableName %></h2>
	<table>
	<%
		for (String header : headerNames){
	%>
	  <tr>
	    <td style="min-width : 100px;"><%= header %></td>
	    <td style="min-width : 20px;"> : </td>
	    <td style="min-width : 100px;"><%= dynaBean.get(header) %></td>
	  </tr>
	<%
		}
	%>
	</table>
	
	<input type="button" onClick="<portlet:namespace />goBack();" name="back" value="Back"/>

<script type="text/javascript">
	function <portlet:namespace />goBack() {
		window.history.go(-1);
	}
</script>	